package com.wentao.thisService.mapper;

import java.util.*;
import com.wentao.thisService.model.*;
import org.apache.ibatis.annotations.Param;
import com.wentao.thisService.model.entities.IntResultEntity;
import com.wentao.thisService.model.entities.PageEntity;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Mapper;

@Mapper
@Repository
public interface AddressDao {

	public List<AddressEntity> Search(AddressEntity entity);
    public List<AddressEntity> SearchPage(@Param("entityItem") AddressEntity entityItem, @Param("pageItem") PageEntity pageItem);
    public void Update(@Param("entityItem") AddressEntity entity, @Param("valueItem") AddressEntity val);
    public void Insert(AddressEntity entity);
    
    public List<AddressEntity> SearchAut(AddressEntity entity);
    public List<AddressEntity> SearchPageAut(@Param("entityItem") AddressEntity entityItem, @Param("pageItem") PageEntity pageItem);
    public void UpdateAut(@Param("entityItem") AddressEntity entity, @Param("valueItem") AddressEntity val);
    
    public IntResultEntity Count(AddressEntity entity);
    public IntResultEntity CountAut(AddressEntity entity);
    
    
}